package cn.operation.backend.bo;

import java.io.Serializable;

/**
 * 商品车品牌
 */
public class CvBrandBO implements Serializable {

    private Integer id;

    //品牌编码 不能空白，不能重复
    private String code;

    //品牌首字母 不能空白，不能重复
    private String prefix;

    //品牌名称 不能空白，不能重复
    private String name;

    private String pinyin;

    private String initialWords;

   //品牌LOGO 图片键值
    private String brandLogo;

    //状态 包括正常、禁用
    private String status;

   //备注
    private String comment;


    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sc_base_cv_brand
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.id
     *
     * @return the value of sc_base_cv_brand.id
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.id
     *
     * @param id the value for sc_base_cv_brand.id
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.code
     *
     * @return the value of sc_base_cv_brand.code
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public String getCode() {
        return code;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.code
     *
     * @param code the value for sc_base_cv_brand.code
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.prefix
     *
     * @return the value of sc_base_cv_brand.prefix
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public String getPrefix() {
        return prefix;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.prefix
     *
     * @param prefix the value for sc_base_cv_brand.prefix
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setPrefix(String prefix) {
        this.prefix = prefix == null ? null : prefix.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.name
     *
     * @return the value of sc_base_cv_brand.name
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.name
     *
     * @param name the value for sc_base_cv_brand.name
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.brand_logo
     *
     * @return the value of sc_base_cv_brand.brand_logo
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public String getBrandLogo() {
        return brandLogo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.brand_logo
     *
     * @param brandLogo the value for sc_base_cv_brand.brand_logo
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setBrandLogo(String brandLogo) {
        this.brandLogo = brandLogo == null ? null : brandLogo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.status
     *
     * @return the value of sc_base_cv_brand.status
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.status
     *
     * @param status the value for sc_base_cv_brand.status
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sc_base_cv_brand.comment
     *
     * @return the value of sc_base_cv_brand.comment
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public String getComment() {
        return comment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sc_base_cv_brand.comment
     *
     * @param comment the value for sc_base_cv_brand.comment
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getInitialWords() {
        return initialWords;
    }

    public void setInitialWords(String initialWords) {
        this.initialWords = initialWords;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sc_base_cv_brand
     *
     * @mbggenerated Wed May 24 13:49:05 CST 2017
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", code=").append(code);
        sb.append(", prefix=").append(prefix);
        sb.append(", name=").append(name);
        sb.append(", pinyin=").append(pinyin);
        sb.append(", initialWords=").append(initialWords);
        sb.append(", brandLogo=").append(brandLogo);
        sb.append(", status=").append(status);
        sb.append(", comment=").append(comment);
        sb.append("]");
        return sb.toString();
    }
}